Integrand size = 31, antiderivative size = 91 \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\frac {5 x}{16 a^3 c^3}+\frac {5 \cos (e+f x) \sin (e+f x)}{16 a^3 c^3 f}+\frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {3603, 2715, 8} \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\frac {\sin (e+f x) \cos ^5(e+f x)}{6 a^3 c^3 f}+\frac {5 \sin (e+f x) \cos ^3(e+f x)}{24 a^3 c^3 f}+\frac {5 \sin (e+f x) \cos (e+f x)}{16 a^3 c^3 f}+\frac {5 x}{16 a^3 c^3} \]
[In]
[Out]
Rule 8
Rule 2715
Rule 3603
Rubi steps \begin{align*} \text {integral}& = \frac {\int \cos ^6(e+f x) \, dx}{a^3 c^3} \\ & = \frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}+\frac {5 \int \cos ^4(e+f x) \, dx}{6 a^3 c^3} \\ & = \frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}+\frac {5 \int \cos ^2(e+f x) \, dx}{8 a^3 c^3} \\ & = \frac {5 \cos (e+f x) \sin (e+f x)}{16 a^3 c^3 f}+\frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}+\frac {5 \int 1 \, dx}{16 a^3 c^3} \\ & = \frac {5 x}{16 a^3 c^3}+\frac {5 \cos (e+f x) \sin (e+f x)}{16 a^3 c^3 f}+\frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f} \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 49, normalized size of antiderivative = 0.54 \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\frac {60 e+60 f x+45 \sin (2 (e+f x))+9 \sin (4 (e+f x))+\sin (6 (e+f x))}{192 a^3 c^3 f} \]
[In]
[Out]
Time = 0.20 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.78
method | result | size |
risch | \(\frac {5 x}{16 a^{3} c^{3}}+\frac {\sin \left (6 f x +6 e \right )}{192 a^{3} c^{3} f}+\frac {3 \sin \left (4 f x +4 e \right )}{64 a^{3} c^{3} f}+\frac {15 \sin \left (2 f x +2 e \right )}{64 a^{3} c^{3} f}\) | \(71\) |
norman | \(\frac {\frac {5 x}{16 a c}+\frac {11 \tan \left (f x +e \right )}{16 a c f}+\frac {5 \left (\tan ^{3}\left (f x +e \right )\right )}{6 a c f}+\frac {5 \left (\tan ^{5}\left (f x +e \right )\right )}{16 a c f}+\frac {15 x \left (\tan ^{2}\left (f x +e \right )\right )}{16 a c}+\frac {15 x \left (\tan ^{4}\left (f x +e \right )\right )}{16 a c}+\frac {5 x \left (\tan ^{6}\left (f x +e \right )\right )}{16 a c}}{\left (1+\tan ^{2}\left (f x +e \right )\right )^{3} a^{2} c^{2}}\) | \(136\) |
derivativedivides | \(\frac {i}{16 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )^{2}}+\frac {5 \arctan \left (\tan \left (f x +e \right )\right )}{16 f \,a^{3} c^{3}}-\frac {1}{48 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )^{3}}+\frac {5}{32 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )}-\frac {i}{16 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )^{2}}-\frac {1}{48 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )^{3}}+\frac {5}{32 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )}\) | \(154\) |
default | \(\frac {i}{16 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )^{2}}+\frac {5 \arctan \left (\tan \left (f x +e \right )\right )}{16 f \,a^{3} c^{3}}-\frac {1}{48 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )^{3}}+\frac {5}{32 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )}-\frac {i}{16 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )^{2}}-\frac {1}{48 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )^{3}}+\frac {5}{32 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )}\) | \(154\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.24 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.99 \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\frac {{\left (120 \, f x e^{\left (6 i \, f x + 6 i \, e\right )} - i \, e^{\left (12 i \, f x + 12 i \, e\right )} - 9 i \, e^{\left (10 i \, f x + 10 i \, e\right )} - 45 i \, e^{\left (8 i \, f x + 8 i \, e\right )} + 45 i \, e^{\left (4 i \, f x + 4 i \, e\right )} + 9 i \, e^{\left (2 i \, f x + 2 i \, e\right )} + i\right )} e^{\left (-6 i \, f x - 6 i \, e\right )}}{384 \, a^{3} c^{3} f} \]
[In]
[Out]
Time = 0.34 (sec) , antiderivative size = 296, normalized size of antiderivative = 3.25 \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\begin {cases} \frac {\left (- 103079215104 i a^{15} c^{15} f^{5} e^{18 i e} e^{6 i f x} - 927712935936 i a^{15} c^{15} f^{5} e^{16 i e} e^{4 i f x} - 4638564679680 i a^{15} c^{15} f^{5} e^{14 i e} e^{2 i f x} + 4638564679680 i a^{15} c^{15} f^{5} e^{10 i e} e^{- 2 i f x} + 927712935936 i a^{15} c^{15} f^{5} e^{8 i e} e^{- 4 i f x} + 103079215104 i a^{15} c^{15} f^{5} e^{6 i e} e^{- 6 i f x}\right ) e^{- 12 i e}}{39582418599936 a^{18} c^{18} f^{6}} & \text {for}\: a^{18} c^{18} f^{6} e^{12 i e} \neq 0 \\x \left (\frac {\left (e^{12 i e} + 6 e^{10 i e} + 15 e^{8 i e} + 20 e^{6 i e} + 15 e^{4 i e} + 6 e^{2 i e} + 1\right ) e^{- 6 i e}}{64 a^{3} c^{3}} - \frac {5}{16 a^{3} c^{3}}\right ) & \text {otherwise} \end {cases} + \frac {5 x}{16 a^{3} c^{3}} \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
none
Time = 0.58 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.74 \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\frac {\frac {15 \, {\left (f x + e\right )}}{a^{3} c^{3}} + \frac {15 \, \tan \left (f x + e\right )^{5} + 40 \, \tan \left (f x + e\right )^{3} + 33 \, \tan \left (f x + e\right )}{{\left (\tan \left (f x + e\right )^{2} + 1\right )}^{3} a^{3} c^{3}}}{48 \, f} \]
[In]
[Out]
Time = 5.17 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.63 \[ \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx=\frac {5\,x}{16\,a^3\,c^3}+\frac {{\cos \left (e+f\,x\right )}^6\,\left (\frac {5\,{\mathrm {tan}\left (e+f\,x\right )}^5}{16}+\frac {5\,{\mathrm {tan}\left (e+f\,x\right )}^3}{6}+\frac {11\,\mathrm {tan}\left (e+f\,x\right )}{16}\right )}{a^3\,c^3\,f} \]
[In]
[Out]